package com.zhaozk.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/test")
public class TestController {
	
	@RequestMapping("/login.do")
	public ModelAndView testDemo(ModelAndView mv) {
		mv.setViewName("success");
		return mv;
	}
	
	@RequestMapping("/findAll.do")
    public ModelAndView findAll(ModelAndView mv){
        mv.setViewName("success");
        return mv;
    }

}
